package com.jdiv.samples.tablita;

import com.jdiv.JDiv;
import com.jdiv.JProcess;

public class Muneco extends JProcess {

	public Muneco(){
		graph=1;
		x=100;
		y=100;
	}

	public void begin(){}
	
	public void loop(){
		if (key(JDiv._RIGHT)) x++;
		if (key(JDiv._LEFT)) x--;
		if (key(JDiv._UP)) y--;
		if (key(JDiv._DOWN)) y++;	
	}

}
